package cn.com.infcn.spider.io.output.impl;

import com.alibaba.fastjson.JSONObject;

import cn.com.infcn.spider.domain.Doc;
import cn.com.infcn.spider.io.output.Output;

public class consoleOutput implements Output {
	
	public consoleOutput(JSONObject job, String jobName) {
	}

	@Override
	public void save(Doc doc) throws Exception {
		System.out.println(doc.getResult());
	}

	@Override
	public void flush() throws Exception {

	}

	@Override
	public void shutdown() throws Exception {

	}

}